- 
		Home
	
- 
WordPress.com Editing Toolkit
- 
4.26990
- 
Code
- 
Classes
-  WP_REST_Sideload_Image_Controller 
		
			
				
					
													
								
																			
											| Total Complexity | 25 | 
																			
											| Dependencies | 5 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 283 | 
																			
											| Lines of code | 174 | 
																			
											| Logical lines of code | 73 | 
																	
							 
													
								
																			
											| Comment lines | 67 | 
																			
											| Methods | 9 | 
																			
											| Properties | 0 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 9
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| create_item() | A | 43 | 9 | 46 | 
					
				| prepare_for_collection() | S | 58 | 4 | 16 | 
					
				| get_attachment() | S | 53 | 3 | 24 | 
					
				| create_items() | S | 61 | 3 | 12 | 
					
				| register_routes() | S | 48 | 1 | 39 | 
					
				| prepare_item_for_response() | S | 61 | 2 | 11 | 
					
				| get_collection_params() | S | 57 | 1 | 18 | 
					
				| __construct() | S | 73 | 1 | 5 | 
					
				| get_item_route() | S | 79 | 1 | 3 |